#include <stdio.h>
#include <math.h>
using namespace std;

#define PI 3.1415927

void randomizer(float current, int counter){
    current -= (int)current;
    printf("Current: %f \n", current);

    int helTal = current*10000;
    current = (float)helTal/10000;

    float newNo = pow((PI + current), 5);
    printf("Res: %f \n", newNo);
    if(counter <5)
        randomizer(newNo, ++counter);
}


int main(void){
    float start = 0.18134;
    int counter = 0;
    randomizer(start, counter);
}
